<template>
  <ul>
    <Item class="item" :model="treeData"></Item>
  </ul>
</template>

<script>
import Item from './item.vue'
export default {
  name: 'tree',
  components: { Item },
  data(){
    return {
      treeData: {
        title: 'xx',
        children: [
          {
            title: 'Webpack',
            children: [
              {
                title: 'JSX',
              }
            ]
          }
        ]
      }
    }
  }
}
</script>
